package com.springboot.thymeleaf.springbootthymeleaf.moudle.sure;

import com.springboot.thymeleaf.springbootthymeleaf.entity.vo.CommonExpressVo;
import com.springboot.thymeleaf.springbootthymeleaf.util.XmlCommonUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;



/**
 * @Classname ${小柯}
 * @Description TODO
 * @Date 2019/10/15 21:40
 * @Created by Administrator
 */

@Component
@Slf4j
public class SureProcessService {

    /**
     * 解析苏尔快递返回的xml数据，封装为CommonExpressVo
     * @param text
     * @param flag
     * @return
     * @throws Exception
     */
    public static CommonExpressVo getSRExpressByXml(String text, boolean flag)throws Exception{


        CommonExpressVo commonExpressVo = new CommonExpressVo();

        return commonExpressVo;
    }
}
